/*
 * This class define each report type that can be included in the process.
 * There are:
 *      - filme3D	field	<mesh_position>
 *	- filme2D	field	directon    <mesh_position>     <mesh_position>
 *	- Area          field   x0  x1  y0  y1  z0  z1  <time_step_to_get_frame>
 *	- AreaFFT	field   x0  x1  y0  y1  z0  z1  <time_step_to_get_frame>
 *	- fft2d         field   <mesh_position> <mesh_position> <mesh_position>
 *      - tempo         field   <mesh_position> <mesh_position> <mesh_position>
 *	- tempoSAR      field   <mesh_position> <mesh_position> <mesh_position>
 *	- AreSAR	field   x0  x1  y0  y1  z0  z1  <time_step_to_get_frame>
 * 
 */

package br.com.cpqd.ssar.posprocessamento;

import java.util.Vector;

/**
 *
 * @author Carlos Henrique da Silva Santos
 */
public class TipoRelatorio {
    
    /**
     * ID Type
     */
   private int idtipo;
     
   /*
    * FDTD Type Name
    */
   private String typeFDTD;
   
    /**
     * Name of the Type into the Selected Box
     */
    private String name;
    
   
    /**
     * Number of parameteres
     */
    private int nparameters;
    
    /**
     * Vector of parameters to be used by each report
     */
    private Vector parameters;
      
      
    public int getIdtipo() {
        return idtipo;
    }

    public void setIdtipo(int idtipo) {
        this.idtipo = idtipo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getNparameters() {
        return nparameters;
    }

    public void setNparameters(int nparameters) {
        this.nparameters = nparameters;
    }

    public Vector getParameters() {
        return parameters;
    }

    public void setParameters(Vector parameters) {
        this.parameters = parameters;
    }

    public String getTypeFDTD() {
        return typeFDTD;
    }

    public void setTypeFDTD(String type) {
        this.typeFDTD = type;
    }
    
    
        
    /**
     * Retornar o nome de cada parametro alocado
     * @return String Nome do Parametro
     */
    public String getParameterName(int i){
        return parameters.get(i).toString();
    }
     
    
    
    
    
        
    /**
     * Nome do objeto para aparecer na lista
     * @return String
     */
    @Override
    public String toString() {
        return this.name;
    }
}
